using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iTron.Model.Player;

namespace iTron.Controller
{
    public class PlayerController
    {
        public List<Player> players;

        public PlayerController()
        {
            players = new List<Player>();
        }

        public void add(String name, int color) {
            Player player = new Human();
            player.name = name;
            player.color = color;
            players.Add(player);
        }

        public Player get(int index) {
            return players[index];
        }
    }
}